package logic.bean;/**
 * 作者： lexy
 * 时间： 16/7/2214:39
 * 邮箱： hpxu2008@163.com
 */

import java.io.Serializable;
import java.util.List;

/**
 * author: lexy
 * email : hpxu2004@163.com
 * date  : 2016-07-22
 * time  : 14:39
 */
public class HotelOrdersBean implements Serializable {


    /**
     * resultCode : 1000
     * returnObject : {"hotelOrderList":[{"amount":1,"hotelName":"希尔顿","hotelPic":"","id":6,
     * "orderNo":"JD20160720160710748990","roomName":"标准间","roomPrice":23800,"status":1,
     * "totalMoney":23800},{"amount":1,"hotelName":"安曼","hotelPic":"","id":5,
     * "orderNo":"JD201607201607107489986","roomName":"标准间","roomPrice":19900,"status":1,
     * "totalMoney":19900},{"amount":1,"hotelName":"四季酒店","hotelPic":"","id":12,
     * "orderNo":"JD20160720160710741230","roomName":"标准间","roomPrice":8900,"status":2,"totalMoney":8900},
     * {"amount":1,"hotelName":"丽兹卡尔顿","hotelPic":"http://121.41.14
     * .211:6080/group1/M00/8B/E4/F_HkIsBmmg91NPvby3.jpg","id":13,"orderNo":"JD20160720160710741209",
     * "roomName":"标准间","roomPrice":12800,"status":2,"totalMoney":12800},{"amount":1,"hotelName":"香格里拉",
     * "hotelPic":"http://121.41.14.211:6080/group1/M00/8B/E4/F_HkIsBmmg91NPvby3.jpg","id":11,
     * "orderNo":"JD20160720160710741230","roomName":"标准间","roomPrice":9900,"status":3,"totalMoney":9900},
     * {"amount":1,"hotelName":"安曼","hotelPic":"","id":10,"orderNo":"JD20160720160710741232",
     * "roomName":"单人间","roomPrice":10800,"status":6,"totalMoney":10800},{"amount":1,"hotelName":"丽兹卡尔顿",
     * "hotelPic":"http://121.41.14.211:6080/group1/M00/8B/E4/F_HkIsBmmg91NPvby3.jpg","id":8,
     * "orderNo":"JD20160720160710748998","roomName":"单人间","roomPrice":36000,"status":5,
     * "totalMoney":36000},{"amount":1,"hotelName":"希尔顿","hotelPic":"","id":4,
     * "orderNo":"JD201607201607107489986","roomName":"双人间","roomPrice":35800,"status":4,
     * "totalMoney":29800},{"amount":3,"hotelName":"希尔顿","hotelPic":"","id":2,
     * "orderNo":"JD201607201607107489970","roomName":"双人间","roomPrice":42800,"status":4,
     * "totalMoney":694226},{"amount":2,"hotelName":"四季酒店","hotelPic":"","id":1,
     * "orderNo":"JD201607201607107489954","roomName":"双人间","roomPrice":19900,"status":4,
     * "totalMoney":189522}],"page":{"page":1,"pageNum":10,"totalNum":13,"totalPage":2}}
     */

    private int resultCode;
    /**
     * hotelOrderList : [{"amount":1,"hotelName":"希尔顿","hotelPic":"","id":6,
     * "orderNo":"JD20160720160710748990","roomName":"标准间","roomPrice":23800,"status":1,
     * "totalMoney":23800},{"amount":1,"hotelName":"安曼","hotelPic":"","id":5,
     * "orderNo":"JD201607201607107489986","roomName":"标准间","roomPrice":19900,"status":1,
     * "totalMoney":19900},{"amount":1,"hotelName":"四季酒店","hotelPic":"","id":12,
     * "orderNo":"JD20160720160710741230","roomName":"标准间","roomPrice":8900,"status":2,"totalMoney":8900},
     * {"amount":1,"hotelName":"丽兹卡尔顿","hotelPic":"http://121.41.14
     * .211:6080/group1/M00/8B/E4/F_HkIsBmmg91NPvby3.jpg","id":13,"orderNo":"JD20160720160710741209",
     * "roomName":"标准间","roomPrice":12800,"status":2,"totalMoney":12800},{"amount":1,"hotelName":"香格里拉",
     * "hotelPic":"http://121.41.14.211:6080/group1/M00/8B/E4/F_HkIsBmmg91NPvby3.jpg","id":11,
     * "orderNo":"JD20160720160710741230","roomName":"标准间","roomPrice":9900,"status":3,"totalMoney":9900},
     * {"amount":1,"hotelName":"安曼","hotelPic":"","id":10,"orderNo":"JD20160720160710741232",
     * "roomName":"单人间","roomPrice":10800,"status":6,"totalMoney":10800},{"amount":1,"hotelName":"丽兹卡尔顿",
     * "hotelPic":"http://121.41.14.211:6080/group1/M00/8B/E4/F_HkIsBmmg91NPvby3.jpg","id":8,
     * "orderNo":"JD20160720160710748998","roomName":"单人间","roomPrice":36000,"status":5,
     * "totalMoney":36000},{"amount":1,"hotelName":"希尔顿","hotelPic":"","id":4,
     * "orderNo":"JD201607201607107489986","roomName":"双人间","roomPrice":35800,"status":4,
     * "totalMoney":29800},{"amount":3,"hotelName":"希尔顿","hotelPic":"","id":2,
     * "orderNo":"JD201607201607107489970","roomName":"双人间","roomPrice":42800,"status":4,
     * "totalMoney":694226},{"amount":2,"hotelName":"四季酒店","hotelPic":"","id":1,
     * "orderNo":"JD201607201607107489954","roomName":"双人间","roomPrice":19900,"status":4,"totalMoney":189522}]
     * page : {"page":1,"pageNum":10,"totalNum":13,"totalPage":2}
     */

    private ReturnObjectBean returnObject;

    public int getResultCode() {
        return resultCode;
    }

    public void setResultCode(int resultCode) {
        this.resultCode = resultCode;
    }

    public ReturnObjectBean getReturnObject() {
        return returnObject;
    }

    public void setReturnObject(ReturnObjectBean returnObject) {
        this.returnObject = returnObject;
    }

    @Override
    public String toString() {
        return "HotelOrdersBean{" +
                "resultCode=" + resultCode +
                ", returnObject=" + returnObject +
                '}';
    }

    public static class ReturnObjectBean {
        /**
         * page : 1
         * pageNum : 10
         * totalNum : 13
         * totalPage : 2
         */

        private PageBean page;
        /**
         * amount : 1
         * hotelName : 希尔顿
         * hotelPic :
         * id : 6
         * orderNo : JD20160720160710748990
         * roomName : 标准间
         * roomPrice : 23800
         * status : 1
         * totalMoney : 23800
         */

        private List<HotelOrderListBean> hotelOrderList;

        public PageBean getPage() {
            return page;
        }

        public void setPage(PageBean page) {
            this.page = page;
        }

        public List<HotelOrderListBean> getHotelOrderList() {
            return hotelOrderList;
        }

        public void setHotelOrderList(List<HotelOrderListBean> hotelOrderList) {
            this.hotelOrderList = hotelOrderList;
        }

        public static class PageBean {
            private int page;
            private int pageNum;
            private int totalNum;
            private int totalPage;

            public int getPage() {
                return page;
            }

            public void setPage(int page) {
                this.page = page;
            }

            public int getPageNum() {
                return pageNum;
            }

            public void setPageNum(int pageNum) {
                this.pageNum = pageNum;
            }

            public int getTotalNum() {
                return totalNum;
            }

            public void setTotalNum(int totalNum) {
                this.totalNum = totalNum;
            }

            public int getTotalPage() {
                return totalPage;
            }

            public void setTotalPage(int totalPage) {
                this.totalPage = totalPage;
            }

            @Override
            public String toString() {
                return "PageBean{" +
                        "page=" + page +
                        ", pageNum=" + pageNum +
                        ", totalNum=" + totalNum +
                        ", totalPage=" + totalPage +
                        '}';
            }
        }

        public static class HotelOrderListBean {
            private int amount;
            private String hotelName;
            private String hotelPic;
            private int id;
            private String orderNo;
            private String roomName;
            private int roomPrice;
            private String status;
            private int totalMoney;

            public int getAmount() {
                return amount;
            }

            public void setAmount(int amount) {
                this.amount = amount;
            }

            public String getHotelName() {
                return hotelName;
            }

            public void setHotelName(String hotelName) {
                this.hotelName = hotelName;
            }

            public String getHotelPic() {
                return hotelPic;
            }

            public void setHotelPic(String hotelPic) {
                this.hotelPic = hotelPic;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getOrderNo() {
                return orderNo;
            }

            public void setOrderNo(String orderNo) {
                this.orderNo = orderNo;
            }

            public String getRoomName() {
                return roomName;
            }

            public void setRoomName(String roomName) {
                this.roomName = roomName;
            }

            public int getRoomPrice() {
                return roomPrice;
            }

            public void setRoomPrice(int roomPrice) {
                this.roomPrice = roomPrice;
            }

            public String getStatus() {
                return status;
            }

            public void setStatus(String status) {
                this.status = status;
            }

            public int getTotalMoney() {
                return totalMoney;
            }

            public void setTotalMoney(int totalMoney) {
                this.totalMoney = totalMoney;
            }

            @Override
            public String toString() {
                return "HotelOrdersBean{" +
                        "amount=" + amount +
                        ", hotelName='" + hotelName + '\'' +
                        ", hotelPic='" + hotelPic + '\'' +
                        ", id=" + id +
                        ", orderNo='" + orderNo + '\'' +
                        ", roomName='" + roomName + '\'' +
                        ", roomPrice=" + roomPrice +
                        ", status=" + status +
                        ", totalMoney=" + totalMoney +
                        '}';
            }
        }

        @Override
        public String toString() {
            return "ReturnObjectBean{" +
                    "page=" + page +
                    ", hotelOrderList=" + hotelOrderList +
                    '}';
        }
    }
}
